package com.erp.pro.service;

import com.erp.pro.domain.SupplierDO;

import java.util.List;
import java.util.Map;

/**
 * 供应商管理
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-06-29 17:06:25
 */
public interface SupplierService {
	
	SupplierDO get(Long id);
	
	List<SupplierDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SupplierDO supplier);
	
	int update(SupplierDO supplier);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	SupplierDO getSupplierByName(String supplierName);
}
